-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: calculate the io throughput in background in ReadLimiter #5415
feat: calculate the io throughput in background in ReadLimiter #5415
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/run-all-tests |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
aa538eb
to
411c558
Compare
/run-all-tests |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
ad30d87
to
d5c3c4a
Compare
/run-all-tests |
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
/run-all-tests |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
/run-integration-test |
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
/run-unit-test |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
/run-all-tests |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
/merge |
@Lloyd-Pottiger: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 820766b
|
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
/merge |
@Lloyd-Pottiger: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
Coverage for changed files
Coverage summary
full coverage report (for internal network access only) |
Signed-off-by: Lloyd-Pottiger yan1579196623@gmail.com
What problem does this PR solve?
Issue Number: close #5091, close #5401
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Test
Test step
In TPC-H-100 dataset.
4. Record the CPU Usage, I/O Limiter and Disk Throughput in grafana.
Test Result
update_io_stat_period_ms = 20
update_io_stat_period_ms = 50
update_io_stat_period_ms = 100
update_io_stat_period_ms = 200
update_io_stat_period_ms = 2000
Analysis
The quota's refresh cycle is 100ms, and in order to avoid
read_bytes
not being refreshed for the whole cycle, theupdate_io_stat_period_ms
should be less than 100ms. Whenupdate_io_stat_period_ms = 50
,read_bytes
may be refreshed only once. We suggest settingupdate_io_stat_period_ms
to 30ms, which makes sureread_bytes
is refreshed three times in one cycle and the CPU usage is acceptable.Release note